home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 August / macformat-027.iso / mac / Shareware City / Developers / PlayerPRO 4.4.1 Dev.Kit / Import⁄Export / 669.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-01  |  882 b   |  46 lines  |  [TEXT/MPCC]

  1. struct PasByte {
  2.     Byte    aByte[ 3];
  3. };
  4. typedef struct PasByte PasByte;
  5.  
  6. struct PatCmd {
  7.     unsigned short AmigaPeriod : 6;
  8.     unsigned short Instru : 6;
  9.     unsigned short Volume : 4;
  10.     unsigned short EffectCmd : 4;
  11.     unsigned short EffectArg : 4;
  12. };
  13.  
  14. struct PatSix {
  15.         struct PatCmd Cmds[ 64][ 8];
  16. };
  17.  
  18. struct    SampleInfo    {
  19.     //    char    InstruFilename[ 13];
  20.         unsigned    short    length;
  21.         unsigned    short    loopStart;
  22.         unsigned    short    loopEnd;
  23. };
  24. typedef        struct SampleInfo    SampleInfo;
  25.  
  26. struct    SixSixNine    {
  27.         short        marker;
  28.         char        message[ 108];
  29.         Byte        NOS;
  30.         Byte        NOP;
  31.         Byte        loopOrder;
  32.         Byte        orderList[ 0x80];
  33.         Byte        tempoList[ 0x80];
  34.         Byte        breakList[ 0x80];
  35.         SampleInfo    fid[];
  36. };
  37. typedef        struct SixSixNine    SixSixNine;
  38.  
  39. struct    Partition669    {
  40.         SixSixNine        *theFile;
  41.         SampleInfo        *sampleInfo;
  42.         Ptr                samplePtr[ 128];
  43.         Ptr                patternPtr[ 128];
  44. };
  45. typedef        struct Partition669    Partition669;
  46.